added sight length calculation