Added hashset cache, fixed bug in DynamicParallelOracleBuilder