Construction of wave dark matter halos: Numerical algorithm and analytical constraints | Synapse