Investigating the formation of a geometrically necessary boundary using discrete dislocation dynamics