Vector cast in fn for consistency