Improve perfomance by sampling every 9th pixel