reduce key length