Simplify main.cpp
Allow choosing lower bound at runtime