improved performance of is_p_admissible