r-Cube