cache node locations for ways