solved diagonal clusters problem, but still not correct