More flexible boundedUniform macro.