..
refactoring of angle calculation for angular dimension