Measuring distance between 5 adjacent houses