Fix bug in large vein generator