running outer loop

need to preserve group splitting thing.  can handle 300+, but RAM
creeps up too high for my machines with 8G