fixed odd/even detection, passes using 3x3 and 4x4