optimization of PixelHitMatcher