Make efficient by getting rid of some doubles.
Replace checks to completely destroy doubles.