Factorizing code-block