improve efficiency of peaks broadcasting and rendering in browswer