balance vs eta histos
put fitting part into separate function
multithreaded version