Distribution of the molecular absorption in front of the quasar B0218+357