Check inner_size in constructors.