Change integer array values to start from 1.