Optimize parent station lookup implementation