Fix a bug in contact resolution.
Add steps.