use constant for LENGTH
remove unused regexp
don't .shift to loop over subscriptions.

change order of subscription iteration during sig/finalize.