More efficient way of working out the path