Convert pointer arithmetic to subscripts