change arguments of calculate_positive_phase