Implemented max_size of structures