Fix the number of Cues that are written.