Self-consistent rate equations of self-assembly quantum wire lasers