Mass operator in the light-cone representation