Set#size and Array#size will be the same, so no need to use Set here.