fix possibility to create huge sparse arrays.