still fixing bugs to generate one tile properly