Thanks robatino,
This is what you mentioned before. Do you mean in your good practices you recommend to reserve size N if the max possible size is N ^ 2?
--------------------
For example, if the upper bound is O(N^2), and the "average" is O(N).
--------------------
regards,
George