`simplify()` and `assemble()` utils added

Few bug has been also fixed