fixed max_phi