added pointer to source/target grid container to the list of segments