make simpleshm use a single buffer