changed back to const_reference (won't work because of ViennaGrid internals)