change the way that the last element is accessed in compress spectrum