Pre-allocate right amount of memory when used for de,manu storage (Laurent)