fix length of simulated sequence part
fix bug with node updates on pruning