clamp DSDC in 2nd DC2 test
pre-compute flipped bitmaps for performance

closes #1, for now