1. -Fix a bug.
1. -Do some optimization to reduce the count of material, reduce about 100.
2. -Fix a bug in PerformDetector