tried to make the analysis of TAD general for preperation to peak calling