debugging

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
added a couple of min/max functions

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
added min/max functions

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
added some static initialization functions

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>