Avoid some array allocation