shape.bounds()
`minecraft:moving_piston` is the only block I currently know which could cause this to crash.