improved speed by directly selecting all necessary <td>s