make sure num is an integer in synth_clust