Fixing compile warnings and tile sizes