Use custom table for ToP

Fixes #6