add filesystem growing to the foundation creation stage
add debug flags to helper for foundation create