fix masstab handling, also chop files by Npar.