The max_size and resize methods