make graph fixed faster and don't add links of strength zero