fix slot size in pool allocator
fix allocation of non-object memory
update map internal slots allocation so ref counting can be applied