Are adaptation costs necessary to build up a local adaptation pattern?