Reworked SWat hand-optimized.