Optimizing repeater schemes for the quantum internet