performance tweaks

boost block size  make explicit use of local memory