Switch to library-based binary max-sum implementation
Simply log messages
Minor tweaks