Finalize the dynamic blocks