FIX: compiler does not compile 'reduce' correctly.

FEAT: minor code refactoring for PRINT native.