debug mode does not need reset anymore, single grid mode now takes vector as input