cmm workflow optimization