Optimized data structure for DetectSystem