Fix paths in histogram toll and add compare method to histogram validator.