Should use bit operations here too

Can't go any faster now