optimera storleken på växlingsfilen