fill cup by r_dim
_