See https://wiki.yandex-team.ru/robot/newdesign/histograms/