multiply vector-scalar now destructive
Add DEFINE to decide whether to output edge count