move sizes to config