const MAX_CONFIGURATION_DEPTH: usize = 50;
Maximum configuration depth to prevent stack overflow from deeply nested paths