revert - this doesn't work
use rem, hurp
Support halving indices properly.