Finding Adversarial Inputs for Heuristics using Multi-level Optimization