Make allocator optionally free memory in destructor.
Remake bitmap on merge.
Fix range test, add another for not in range.