corrected fastphase calculation