Bug fixing : i didn't take into account the outside border when doing an
image buffer.