fix size limit in limit_size, necessary for s_0_0.test_safe_heap