Text this: A markovian approach to determine optimal means for SME production process