remove touching binaries function