Linking elastic nonlinearity and cracks growth in mortar samples