Yep, but that requires that rs cannot be allocated with malloc anymore