Adding adaptive cubature