way better implementation of makelevel(..)