First, the conditionally independent map features are given to the path. It factors one particle per path. This makes the features of the map independent. Then correlation is eliminated. The sample new pose of the FastSLAM is updated and the observation features are updated. This update can be performed online. It can solve both offline and online problems based on the SLAM. The instances include feature-based maps and grid-based algorithms.