Autotile terrain not working for 5x5 tileset no matter what bit-mask I use

Godot Version

4.3

Question

image_2024-09-08_085412548

if tileset for a terrain is 3x3, it works as mentioned in most tutorials. But mytileset terrain loks like this, consisting of 5x5 tiles. I tried many patterns for bit-mask, but none of them work. They give weird random results.

https://www.reddit.com/r/godot/comments/1fbzyjc/autotile_terrain_not_working_for_5x5_tileset_no/