short speed improvement for calculation