Removed holes in threshold + HandDetectorFactory