2D valid surface detection | ScratchStats