Upated indices computation for stencel ... not yet working.