split splitter_mkgmap.py in two parts