Also store the end pos of the node