Suppose, in fact, our 4-dimensional space is closed and represents the product of a sphere onto a torus or a sphere onto a cylinder, and the observer's coordinate lines are helical lines of a torus or cylinder. Then in such a closed world a material particle can be represented by a rotating ring on a torus or cylinder. Let the intrinsic angular velocity of rotation of the ring be the mass of the particle, and let the winds blow in our closed world, which blow our ring according to the principle of the least number of revolutions of the ring. Does not it resemble the principle of least action of classical mechanics. And since in this case the action is the number of revolutions of the ring, then at full revolutions we get a quantized action.
If you are interested in continuing, then welcome to
Research Proposal MATHEMATICAL NOTES ON THE NATURE OF THINGS