setting max query size to 31