Added PreferSmaller and PreferLarger modes.