fix near/far/huge class mismatch diagnostics
fix pure data class copy diagnostics
cleanup code
return back regression tests output