Using list to store original pointer and size