The stability of a crystal with diamond structure for patchy