data structure finish

linearinterpration has bug