math abs for intersect