final1 pre-optimize