scaling implemented (tested with L=3 and L=10)