Tested simple reduction functions for noncontiguous case