added the stable sketch to calculate the L2 norm