removed bugs of too big tiles, added comments