Fix a bug with sizes