requires raptor-optimizer