Use larger sample for encoding detection