Interesting story, a new SF take on Jack and the Beanstalk. I saw the ending coming a mile away, though. And time travel loops like this bring up interesting paradoxes--The beans are in an eternal loop with no origin point, aging infinitely when nothing around them is changing from iteration to iteration. If the beans are capable of wearing out at some point, then the loop will break.