Modularize shortening engine