Module preallocation

Source
Expand description

Implementation for preallocation.

Preallocation is used for new images or when growing images.