register block outputs at the end

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>