making the map building work in streaming mode for some extent, still there are some bugs left