Yes, now it's working. Cool implementation.
But once I am noticed deadlock by top layer, it's have one top tile and 3 same under. (Sorry I forgot to take screenshot)