Make Thumb take into account size in cache hash