bin counter min added
revised min for storing iterators