after his parents divorced , he preferred the stability of the law office to the strains of joint custody , and each day after school he parked himself in a small room upstairs and finished his homework .