implement charrange on moarvm