Adding code for a - Thread pooling b - bounding box calculation and intersection