May I suggest that you read this post and consider implementing the HTM extension for hex-grid coding?