A Linear Space Algorithm for Computing Maximal - CSIE -NCKU