Fix: altmax now reads from restart file. If it is not found then it raises an exception. It was not initialized.