added bounciness to generate_paths