added the corner cases for scale3x, cleaned up scale2x, scale3x, and scale4x