bugfix boundary integration now correct