I forget, you're using marlin, right? In config.adh, bed size is in the first few sections for printer layout and configuration