diamonds weight calculation implemented