splitting calculation method in smaller chunks