fixed bad math, going with 6bits