added elimination of known grid values