Classification of flat directions in perturbative heterotic superstring vacua with anomalous U(1)