Uploading some modifications that made it work better. We have a empirical calibration of user_map detections