fold that is slow without -O