better vector iterator constructor