its hard even not any accounting can do it correct , there are so things to be collected and consider

my advice to you hire expert Cost accounting