HW1
Added check for looking at other fronteer nodes with lower cost