adjust size of (r)