A Monte-Carlo algorithm for path planning with many degrees of freedom | Synapse