Two-stage sewing. The dotted loops indicate where the secondary thread loops inside the signature to anchor a long length.
Don't worry – you don't need to know.