Improved PRM algorithm based on dynamic partitioning and adaptive sampling | Synapse