fixed placement of piece. boundary check not working