defining and optimizing a crusher