added optimization for permuted view