finish skeleton for linearTimeSVD