Planarisation of the insulating layers