Boc calculate fully implemented