Implemented "alloc_size" method