removed genSize