Updated contact_data to compute 2D contact areas faster