First implementation of side-lookup array