removed continuous path optimisation