require 0 for blank elements, so that grid size can be automatically determined