finished time_rmsm_large; fixed rmsm rsz alloc bug