Offheap dimensions

save dimensions to Offheap optionally
spelling