implement headroom and finish cal stubb