return the index of the basis
return(upper);