pwn_core: lil speedup of the integral image calculation