Simply calculation of contact check