add vectorized malloc