You can place blocks around to try to get the shape you need, but it's like a gamble since you might end up blocking cells you want to use for a path later on.