private int getSiblingIndex(final int index) {
        if (index == 0) {
            return 0;
        }
        if (index % 2 == 0) {
            return getLeftChildIndex(getParentIndex(index));
        } else {
            return getRightChildIndex(getParentIndex(index));
        }
    }