Created ContourStats for computing ISE in constant time O(1)