Added contains. Fixed smear/parity to cover the full range of a key