update mapgen to load only section of bitmap.