modernized SPICEs data throughput and did a few cleanups