Random Riddle: Squares Make A Circle

Many squares make a circle; many circles, a cube.
To start, pierce my heart, with rod via tube.

I’ll shrink away slowly, with a pull of my tail,
As I dance around lively on lateral-rail.

What am I?
 

Random Riddle: Squares Make A Circle