ALEX: fix sizing and add kernel params