remove if(lspmass==1) as it has no effect