The index for the binary_unit_prefixes array is expected to be positive, so avoid to use negative indexes for accessing it.