A volume constrained variational problem with lower-order terms