[Brick Wall 014] calculator line calculation