multifid - adaption to all these changes and stratified subsample wrapper