heuristic solver for multidimensional systems