Inventory Close takes days to weeks

Hi all, We have a problem after upgrading to Dynamics AX 2012 R2 – Our first inventory close has taken almost 2 days already and still has the majority of inventory to process. Any ideas on why this could be happening or something we could do to speed it up (create indexes, etc.)? Thank you! Ted