Use two dummy nodes in the beginning