Zaslat SMS: General formulae for measurement of heights of trees