do not place a node if it is already there and change a bit other things