cleaned some unneeded setsize calls