Use bins in the DB to render index