add collision for rectangles
Merge collision and fill