The recommended for four piggies would be 14 square feet. You have 18 square feet. You should have more space for boars, so you are probably ok as far as recommended space goes. The issue you may have is that they are unlikely to remain as a foursome in the longer term. Males are notoriously territorial, and are almost guaranteed to fall out at some point. Could you have them as two pairs instead?