fixing calloc_loop returning size of last success, not failure