Moving chainSize to external file