T-digest:Datastructure for accurate online accumulation of rank-based statistics
github.com