Floor clipping through prefab

How does one fix this?

Lift the prefab up to the next grid level, then use pieces like brick walls under it to make foundations and/or use terrain pieces to pack it out