Fixed creating segments in levels above leaves.
Merge branch 'master' into set_bitmaps

Conflicts:
	sources/bmap_util.pkb
	sources/bmap_util.pks
	spec/bmap_util/getBitmapLst_spec.rb