Improved CPU-based vector loops within the custom kernel generator