Modified path generation to return less jumpy paths