Try to solve the maximum view port problem using an O(n) line sweeping algorithm, but only partially implemented this problem and will continue working on it tomorrow.