public boolean split() {
        if (width < MINWIDTH || height < MINHEIGHT || b1 != null || b2 != null) {
            return false;
        }
        if (new Random().nextBoolean()) {
            return hsplit();
        } else {
            return vsplit();
        }
    }