phase-length-update-mode implementation