updated code generator: added dense early exit, untests