two step clustering and qsub