petea - modified splitting algorithm