prealloc: prune API