add extents and anchors