This class should ideally be immutable. I see the convenience in having these add* methods while computing the sizes, but can you at least make them package private in order to reduce the class' public interface to the immutable part?