sync: wrote flexible prealloc stuff, but never commited it...