computed McCabe formula