vector constructor fixed
dim bif added