Debug statements and updates hex space calcaulation