tried to improve the peak calling algorithm