Faster square operation