Added Maybe state in calculateLine state