improves column encoding