block: Check for gaps on front and back merges