[phenixbb] Optimization of the mask parameters in PHENIX