General Blocking and Confounding Scheme