Remove useless cases in ZDD.equals.
Increase cache size a bit.