Corrected initial slice sizing to make size number of elements, instead of number of bytes