Interactions of lactam containing compounds based on kinetic hydrate inhibition polymers