Try to avoid memory allocation