Generically distributed investments on flexible projects and endogenous growth