Refactor Cache\Size to avoid having a long checkBin() method.