EXT need to handle initialization of localDepth