Added configurable hex size