Often, a middle ground like Mi Home 5.6.0 offers 90% of the performance benefits of 4.0.11 with better security patches. Try version 5.x before committing to 4.x.