change way to add info in histogram for max locks