intermediate dimension