Verse 53

काचित्सुरत्वमायाति काचिदायाति यक्षताम् ।उदेति प्रथमं सैषा ब्रह्मत्वं समवाश्नुते

In plain words

one such construction comes to the state of a god, another to the state of a yakṣa — but whichever arises first, that alone attains to Brahmā-hood.