Looks ace. Havenāt tried your software (no max here), so not sure what is actually happening in your software, but additive synthesis, would be integer multiplies of the first partial (aka the overtone series). The partials get closer and closer, the second is (indeed) an octave, the third is an octave + fifth, the fourth is two octaves, the fifth is two octaves + major third.
If it was just a typo, sorry for the noise, if not, I suggest you try the overtones series (as above) instead of just octaves, youāll find much more complex wave forms will appear than by just using octaves.
In any case, take this as a most friendly suggestion, and feel free to disregard all together 