To prevent weed smell in small spaces you can use a window fan while smoking, smoke in the bathroom with the fan on and make sure cannabis is stored properly. These will help minimize the smell.