hack to fit in r^3 given r