On the origin of W UMa type contact binaries – a new method for computation of initial masses | Synapse