deepness and gridcounter for showing inside Uirenderer