first take on porting ftools to vector iterator api