FootSLAM Meets Adaptive Thresholding