Can I get a shenandoach cabnetry custom width base cabinet of 40 inches?
Contact the company directly for the answer. Companies will make adjustments to cabinets, such as making them shallower. That I've had done through Kraftmaid.
You can usually compensate for gaps with fillers in non custom cabinets. Other times a design modification can help do the job.