changed accumulator shape to rectangle