fix simple_malloc size restrictions