Use the optimizer in :core