Changed the name of set_size to fit naming conventions.