Correctly enforcing a legal allocation size.