use as contiguous array, prevent mem errors
Use stratified K fold
merged from origin