forgot the null-test in #1
using maxCandidate instead of core_item as a compression bound (the first is smaller) fix #1