Added NxN box mining and resume skipping