refined phase calculations in loader