rename maxsize to maxkeys
rename size to keycount
compete move to acting like a hash