sub main ()
Could be because 1e8 is 488 (decimal), and 1e10 is 7696
That's a lot of difference.
I wonder why 489 crashes it though. - what message does it give you for that one?
What if you use decimal dimension statements? Do those work?