near gems detection finished