Fixed Phi pre-computation