constant 21 (number of frames) replaced on variable nframes
nframes and ndraughts constants