calculate relative position of chip marker and print it to debug stream