Protect flat cooker against Merkle bombs
if someone requests cooking a directory like this:
--- --- ---
/ \ / \ / \
A B C ...
\ / \ / \ /
--- --- ---
then flat cookers will take an exponentially large space on disk