optimized openSet