starting output loop from mem_low rather than 0