Simultaneous merging multiple grid maps using the robust motion averaging