Add object split function. Optimize printing order calculator for shorter runtime.