Add node spacing optimizations