Changed pixel num from 8 to 9