Unity among them and the east coast communities trading with the Thais , Indochinese , and Chinese came from their shared rice economy , language , Islamic culture , and political and social customs inherited from the Melaka sultanate .
The three groups shared aspects due to close geographical borders .