Text this: Fast mode decision algorithm