Number of elements in the buffer. It will be changed to a proper value in the constructor.
@protected late int flatSize = -1;