Implement boolean expand on vectors.