set handDistance with caps