use paper terrain cmp in chapter5