Using typed array for pixel data. Should be faster, allows to load more
slices (for #3 and #45).