build k folds instead of just one