Complexity and capital gains