cleanup, pad datasets to same length