el - 1);
                    });
                    this.levelPlusButton.addEventListener('click', () => {
                        updateLevel(this.currentSubdivisionLevel + 1);
                    });
                    this.subdivisionLevelInput.addEventListener('change', () => { // For direct typing
                        updateLevel(parseInt(this.subdivisionLevelInput.value, 10));
                    });
                     this.subdivisionLevelInput.addEventListener('input', () => { // For immediat