Detect last block in row.