started refactoring to implement kernel axis collapse optimization