updating marker scaling algorithm