Offheap dimensions

save dimensions to Offheap optionally
do we really need a name here? Seems we are leaking the mapdb api here.