Add new function for splitting soil layer