On the shape of solutions of an asymptotically linear problem