no division by zero for overlapping nodes