Don't append to lists in quadratic manner