improved IntervalCell hash function
cleared up debugging code