WIP: kernel background estimation