Updated stare compression routine.