Add iterator based constructor to sd-vector

This adds the iterator based constructor to the sd-vector which has been available via a special branch already for a while. I'm using this functionality now so it would be nice to have it in the main repo.