what if the duration points exactly to the waypoint K? will i have K == before or K == after ?