Ion beam range shortening and the possibility of thermal instability