A Complete Frontier-based Exploration Method for Pose-SLAM