sources to add vector grid and adapt intersect