Getting rid of duplicate vertices in Box construction.