Fix color elimination from histogram
Add algo package