better vectorization of two-center part, rolled into three center part for additional screening
deleted some commented out code