expand participant IDs to reasonable size, fix errors and perform checks