another way of calculating king distance factor, one more test