You need to make your end location slightly longer than what it needs to be. That should decrease the chance of it failing.