Some arrays get completely filled anyway, so we might as well not use numpy.zeros, and instead choose numpy.empty.