Offheap dimensions

save dimensions to Offheap optionally