In all cases under this chapter, the costs may be apportioned as the court may determine.
R.I. Gen. Laws § 10-17-21