In-house law departments work to find balance between higher matter volumes and the need for lower costs