Bolton edges Wells in marathon game