LSA Question

Everything that I've read up to this point all pretty much said the same thing, a tighter LSA will help close the inv sooner. The formula that I used earlier showed this to be the case. I'm not saying that I'm a 100% right as I'm simply going by the formula given to figure the inv closing point of a camshaft. And every place that I've read all gave the same thing. Advertised duration divided by 2 + the LSA minus any camshaft advance minus 180 equals the inv closing point. Is this formula accurate for figuring the inv closing point? I read that the camshaft and the compression have to work together or you could have to much cylinder pressure which causes detonation, or to little cylinder pressure in which both can cause a power loss and possibly engine damage. Have I been learning anything here or am I miss understanding something? I wasn't trying to say or prove anyone wrong, as I was sharing what I've read and if I miss read or miss understood something please let me know. I thank all you guys for your help.