expand house map offset function