Cleaner auto place algorithm for nodes