Adding a table version which should be significantly faster than the previous version, note that this ia reversed table.