Pre-allocating flare memory for efficiency