Extend size of key and value