Using the PROCESSING SCALE and SCALE_BUCKETS directives solved my problem. Thank you very much for your replies!