Create static method to get hash size from layout.