Optimisation: avoid placing duplicate signs.