I actually wrote a short story explaining where the dimension of hats came from. You can find it on my word press account.