Level2 code with only holes detection