speed-up of weights routine

look at subset of frames for each round