We can use xBounds.setEmpty() for this.