Make shift argument to eoshift0 and eoshift2 be of type index_type