Fix feature extractor bugs because of the presence of identical points after preprocessing