one_liner rewritten to test dense input