The court, in determining whether to award support and maintenance for a spouse, shall consider the circumstances and factors which contributed to the dissolution of the marriage, specifically including adultery and any other ground for divorce under the provisions of subdivision (3) or (6) of ?? 20-91 or ?? 20-95.