fixed card ratio and set max size