implemented new line algorithm in scene && identified bug