base optimization finished