added layer splits to improve performance