Hotfix graphmeta

Avoid scientific notation and/or overflow when creating the input for the sampler.