fixed axis direction, added tolerance to soft limits