Decomposed autosearch cross validation, implemented hierarchical cross validation in this setting, tested and validated compared to the old code