now adjust end of feature coordinates to the last non-N index