Offheap dimensions

save dimensions to Offheap optionally
agree, is this needed?