How is the size of chain determined?