build: sequence refactioring tweaks