removed inter-class edges