I found that lower compression and leaner mixtures help, also
shortening the header. Example on my ported 50cc Yamaha Vino:
135 lbs compression 125 main jet : 11.4k rpm (few seconds then overheats)
100 lbs compression 120 main jet: 11.8k
100lbs compression, 120main jet, Next R w/20mm shorter header:12.5k rpm
However, top speed was the same in last two cases, 57-58mph.