SMS dit: Implementing the theory of constraints