Added findPath and fixed ordering issue in pushChildren