Changed things so that you can renumber problems on open sets.