updated the L2 norm dimension