Zivraye

Clear the subgrid of cubes without touching the bombs by sorting out how many connections are safe! Happy puzzling!
Puzzle