optimization gained 2x