Determine the maximal possible length of the sequence of consecutive integers which can be expressed in the form $x^3 + 2y^2$, where $x$ and $y$ are integers.

Let's think step by step and output the final answer within \boxed{}.
user