changed list to unrolledbuffer to improve on memory