stretchDistance is no more initialized in main.cpp