started experemting with some precomputing geometry passes
minor error fixes