add get_internal and update map only if needed

and fix typo in merge z = [2]
point cloud in float