Added methods for calculation of stem