fixed minor bug in starting tile algorithm