Go to my thread about pathfinding and read the explanation of my pathfindindin method. Just use the first part as fill function. Works great. I just did this in school!