Modular Exponentiation algorithm on BGV

You are using ultra-large parameters that we do not generally recommend. The default plaintext modulus used in the example should support reasonable ring dimensions.
Look at the last paragraph in this post. It should give you an idea about how to choose your prime modulus.