Fix fitting conditions from fixed zmax