Added parts template
Goes OK with first tests, but wrong for long first seq