Minor improvement of SGMap and SGSMap.