new splitting method checking all position, silly implementation right now