given the initial and terminal point