The prolongation structures of quasi-polynomial flows