Renamed sizes array to sizes_set to allow coexistance of v1 and v2