Add special case and understand problem in 2d integrations