For example:
this is the single window size

and this is the windows tilled size

as we can see the single window border is very close to the polybar and the border of the screen while the tilled windows are perfectly aligned, I tried looking at the files and documentation of xmonad to find how to make the single window abide to the same sizes as the tilled ones but with no success.
any tips for how to make a single window have the same size as the tilled ones?