There should be 5/18em horizontal gaps around the middle rectangles:

pXp

pXp

pXp

pXp

pXXp

There should be no horizontal gap around the middle rectangles:

pXp

pXp