i am trying to execute swap instruction using VersionedTransaction and i'm getting this error.
const messageV0 = new TransactionMessage({
payerKey: payer.publicKey,
recentBlockhash: blockhash,
instructions,
}).compileToV0Message();
const tx = VersionedTransaction(messageV0);
tx.sign([payer]);
const signature = await connection.sendTransaction(tx);
SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete
'Program failed to complete: exceeded maximum number of instructions allowed (200000) at instruction #51147'