Added branchlut implementation