Added global max call length