begin to optimize data