Changed smartProbCache to use HashMaps