Restore port stripping to KLFM algorithm.