A guide on how to choose chain length