Added SetBoundaries